package com.attendance.www.hr.dao.mapper;

import com.attendance.www.hr.entitys.PrivilegeGroup;
import com.attendance.www.hr.entitys.PrivilegeGroupExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PrivilegeGroupMapper {
    int countByExample(PrivilegeGroupExample example);

    int deleteByExample(PrivilegeGroupExample example);

    int deleteByPrimaryKey(Integer privilegeGroupId);

    int insert(PrivilegeGroup record);

    int insertSelective(PrivilegeGroup record);

    List<PrivilegeGroup> selectByExample(PrivilegeGroupExample example);

    PrivilegeGroup selectByPrimaryKey(Integer privilegeGroupId);

    int updateByExampleSelective(@Param("record") PrivilegeGroup record, @Param("example") PrivilegeGroupExample example);

    int updateByExample(@Param("record") PrivilegeGroup record, @Param("example") PrivilegeGroupExample example);

    int updateByPrimaryKeySelective(PrivilegeGroup record);

    int updateByPrimaryKey(PrivilegeGroup record);
}